(function($){
    $.fn.numberRock=function(){
		if($(this).attr('data-rock') == "true"){
			$(this).attr('data-rock',"false");
		}else{
			return null;
		}
		var dataAfter = $(this).attr('data-after'),
        div_by = 100,
        count=$(this).attr("data-count"),
        speed = Math.floor(count / div_by),
        sum=0,
        $display = this,
        run_count = 0,
        int_speed = $(this).attr('data-lazy');
        var int = setInterval(function () {
            if (run_count <= div_by&&speed!=0) {
                $display.text(sum=speed * run_count);
                run_count++;
            } else if (sum < count) {
                $display.text(++sum);
            } else {
				$display.text(count+dataAfter);
                clearInterval(int);
            }
        }, int_speed);
    }
})(jQuery);
